Treatment of predefined abnormality by hysteroscopic surgery